﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using MyApp.Data.Model;
using MVVMFramework.Core.View;
using MVVMFramework.Core.ViewModel;

namespace MyApp.Modules.Orders.Views
{
    public partial class ProductListView : UserControl, IListView<Product>
    {
        public ProductListView()
        {
            InitializeComponent();
        }

        #region IView Members

        public MVVMFramework.Core.ViewModel.IViewModel ViewModel
        {
            get
            {
                return this.DataContext as IViewModel;
            }
            set
            {
                this.DataContext = value;
            }
        }

        #endregion
    }
}
